package com.freeman.cement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("eventtype_dutyroom")
/**
 * 值班室订阅报警事件关联表
 */
public class EventTypeDutyRoom {
    //数据表中的主键
    //mybatis-plus使用自增长id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("dutyRoomId")
    private Integer dutyRoomId;
    @TableField("eventType")
    private String eventType;
}
